<?php  if (!defined('PATH_HD')) exit('No direct script access allowed');

class IndexControl extends CommonControl{

    function index(){
        // p($result);
        $this->display();
    }

    function header(){
    	$this->display();
    }

    function menu(){
    	$this->display();
    }

    function main(){
        $time=date('Y-m-d H:i:s', time());
        $this->assign('time',$time);
    	$this->display();
    }

    function code(){
        $code=new code();
        $showcode=$code->show();
    }
}
?>